<?php

class IndexController extends AbstractController {

	public function indexAction() {
		$session = Session::getInstance();

		$var = array();
		$id = $session->get('Member');
		if ($id) {
			$var['member'] = DbMembersModel::getData($id);
		}

		$this->template('index/index.phtml', $var);
    }

}
